package com.feng.show.config.dao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
//配置mybatis mapper 的扫描路径
@MapperScan("com.feng.show.dao")
public class DataSourceConfiguration {
    @Value("${spring.datasource.url}")
    private String jdbcUrl;

    @Value("${spring.datasource.hikari.driver-class-name}")
    private String jdbcDriver;

    @Value("${spring.datasource.username}")
    private String jdbcUserName;

    @Value("${spring.datasource.password}")
    private String jdbcPwd;


    public void  createDataResource(){

    }


}
